package com.example.demo.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class YanWang {
    private Integer id;
    private String uuid;
    private Integer lifebook_id;
    private Integer reaper_id;
    private String title;
    private String record;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime create_time;
    private Integer judge_id;
    private String judge_name;
    private String reaper_name;
    private String name;
    private String user_uuid;
    private String year;
    private String birthday;
    private String deathday;
    private Integer gender;
    private String birthplace;
    private String deathplace;
    private Integer type;
    private String attribute;
    private String afterlife;
    private String reincarnation;
    private String photo;
    private Object info;

}
